//
//  UITableViewController+TPTableViewController.h
//  CloudAtCostPanel
//
//  Created by leonardo on 2017/2/20.
//  Copyright © 2017年 tanpengsccd. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TPBaseNetModel.h"
#import "TPUIMacro.h"
#import "TPUIKit.h"
#import "TPNetworkingManager.h"

@interface UIViewController (TPUtility)

- (void)showHudTipsWithResModel_error:(TPBaseNetModel_res * _Nullable)resModel;
- (void)showHudTips:(NSString * _Nullable)str;

- (void)showHUDWithReqModel:(nonnull TPBaseNetModel_req * )reqModel
                   progress:(nullable void(^)(NSProgress * _Nullable downloadProgress )) downloadProgress
            successGetModel:(nonnull void (^)(TPBaseNetModel_res * _Nullable resModel))successGetModel
            failureGetModel:(nonnull void (^)(TPBaseNetModel_res * _Nullable resModel))failureGetModel;
@end
